<?php 
echo $form->create($userModelAlias, array('action'=>'editProfile','enctype' => 'multipart/form-data'));
echo $form->inputs(array('legend'=>__('General Info')), null, 'general');
echo $form->inputs(array('legend'=>__('Contact Info')), null, 'contact');
echo $form->inputs(array('legend'=>__('Misc. Info')), null, 'misc');
echo $form->inputs(array('legend'=>__('Preferences')), null, 'preferences');
echo $form->end(__('Update Profile'));
?>